package com.tian.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.tian.po.Person;

@Repository
public interface PersonMapper {  
    public boolean insertPerson(Person person);   //添加   
    public boolean deletePerson(Person person);            //删除   
    public boolean updatePerson(Person person);    //修改   
    public Person queryById(Person person);              //根据ID查询   
    public List<Person> queryAllPerson();         //查询全部   
}


